import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-model-deploy',
  templateUrl: './model-deploy.component.html',
  styleUrls: ['./model-deploy.component.scss']
})
export class ModelDeployComponent implements OnInit {
  radioTimeValue = 0;
  state = 0;
  constructor(private router:Router) { }

  ngOnInit() {
  }

  deploy(){
    this.state = 1;

    setTimeout(() => {
      this.state = 2;
    }, 1500);

    setTimeout(() => {
      this.state = 3;
    }, 3000);
  }

  return(){
    this.router.navigate(['/extract/extractAppAssessment']);
  }
}
